Skip to main content

markerSelected

Type​

message

Summary​

Sent when a map marker is selected

Syntax​

markerSelected <pMarkerTag>

Description​

The markerSelected message is sent when a marker on the map is selected by the user.

Parameters​

NameTypeDescription

pMarkerTag

The tag identifying this marker, i.e. the array key that was used for the marker's data.

Examples​

on markerSelected pMarkerTag
local tMarkerData
put the markers of the target into tMarkerData
answer "Clicked" && tMarkerData[pMarkerTag]["title"]
end markerSelected

Compatibility and Support​

OS

mac

ios

android

web

Platforms

desktop

mobile